Fireworks Article

Creating a Layout with Fireworks MX 2004 and Dreamweaver MX 2004


Table of Contents

  1. Introduction

Creating the Ultraweaver Design

  1. Creating the Ultraweaver Design
  2. Creating the Shape Outline
  3. Adding Content Areas
  4. Fills and Effects - Adding Shadow and Color Fill
  5. Fills and Effects - Adding the Glass Effects

Slicing and Exporting Fireworks HTML

  1. Slicing
  2. Exporting Fireworks HTML

Importing and Editing Fireworks HTML in Dreamweaver

  1. Create a new Site definition
  2. Creating a new HTML page and importing the Fireworks HTML
  3. Removing sliced images
  4. Removing Nested Tables
  5. Tiling Images

Removing Nested Tables

You do not need to perform this next task of removing nested tables, although it is recommended. If you prefer, you can skip this section and continue to the next section Tiling Images.

I try to use the rule of: Don't use nested tables unnecessarily. In fact, I will try not to use nested tables when possible. But sometimes you need to use them; don't sweat it if you have to use them. Because you chose to have Fireworks export it's HTML as nested tables, you need to clean up a bit.

Note: I chose to use nested tables as it is much easier to edit the HTML rather the exporting with spacers, single table, so forth … I recommend exporting the Fireworks HTML, as Nested tables—no spacers. However, you can experiment. You may find that doing it another way works better for you, it's your preference. There is no right way or wrong way.

To remove the unwanted nested tables, select the nested tables, and cut and paste them outside of the original Fireworks generated table.

  1. Select the very first image at the top left of the interface as sown in Figure 49 below.

    Selecting the top left image

    Figure 49. Selecting the top left image

    Go to the bottom of the document window and select the <table> tag furthest to the right as shown in Figure 50 below. This is the nested table you will to cut and paste.

    Selecting the table tag to copy and paste

    Figure 50. Selecting the table tag to copy and paste

  2. In the Property inspector and set Align to Default.
  3. Go to the main menu and select Edit > Cut.
  4. Place your cursor outside and to the left of the Fireworks HTML generated table.
  5. Go to the main menu and select Edit > Paste.

    The pasted table should sit above the main table as shown in Figure 51 below.

    Pasting the nested table in the main table

    Figure 51. Pasting the nested table in the main table

  6. Select the table that holds the Navbar as shown in Figure 52 below.

    Selecting the table that holds the Navbar

    Figure 52. Selecting the table that holds the Navbar

  7. In the Property inspector, set Align to Default.
  8. Go to the main menu and select Edit > Cut.
  9. Place your cursor outside and to the left of the Fireworks HTML generated table.
  10. Paste the Navbar table so that it is pasted above the Fireworks HTML generated table as shown in Figure 53 below.

    Pasting the Navbar table

    Figure 53. Pasting the Navbar table

  11. Select the table that holds the Main Content table as shown in Figure 54 below.

    Selecting the table that holds the “Main Content” table

    Figure 54. Selecting the table that holds the Main Content table

  12. In the Property inspector, set Align to Default.
  13. Go to the main menu and select Edit > Cut.
  14. Place your cursor outside and to the left of the Fireworks HTML generated table
  15. Paste the Navbar table so that it is pasted above the Fireworks HTML generated table as shown in Figure 55 below.

    Pasting the Navbar table

    Figure 55. Pasting the Navbar table

That takes care of the nested tables. However, you left two sliced images in the original Fireworks–generated table.

You can fix this by adding table rows to a couple of the pasted tables.

  1. Select the table that holds the Navbar as shown in Figure 56 below.

    Selecting the table that holds the Navbar

    Figure 56. Selecting the table that holds the Navbar

  2. Go to the Property inspector and change the Rows text box from 1 to 2. This will add an additional row to the table.

    Changing the rows text box from 1 to 2 to add an additional row to the table

    Figure 57. Changing the rows text box from 1 to 2 to add an additional row to the table

  3. Click inside any of the cells of the new row
  4. Go to the bottom of the document window and select the <tr> tag.
  5. In the Property inspector, click the icon shown in Figure 58 below. This will convert the cells in the row to one column span.

    Converting the cells in the row to one column span

    Figure 58. Converting the cells in the row to one column span

  6. Select the image that divides the Navbar and the Main Content area as shown in Figure 59 below.

    Selecting the image that divides the Navbar and the Main Content areas

    Figure 59. Selecting the image that divides the Navbar and the Main Content areas

  7. Go to the main menu and select Edit > Cut.
  8. Place your cursor inside the row that you merged into a column span.
  9. Go to the main menu and select Edit > Paste.

    Your tables should look like Figure 60 below.

    The completed tables

    Figure 60. The completed tables

    You now need to do the same with the remaining sliced images.

  1. Select the Main Content table.
  2. In the Property inspector, change the Rows value from 1 to 2. This adds a new row to the table.
  3. Click inside any of the cells of the new row.
  4. Go to the bottom of the document window and select the <tr> tag.
  5. In the Property inspector, click the icon shown in Figure 61 below. This will convert the cells in the row to one column span.

    Converting the cells in the row to one column span

    Figure 61. Converting the cells in the row to one column span

  6. Select the remaining image (footer) in the original Fireworks table.
  7. Go to the main menu and select Edit > Cut.
  8. Place your cursor inside the row that you just merged into a column span.
  9. Go to the main menu and select Edit > Paste.

That takes care of most of the nested tables. You can delete the empty table below the interface by selecting it and pressing the Delete key on your keyboard.

You are almost done. Hang in there!